package ooday05;

public class Student {
    String name;
    int age;
    String address;

    /*
    自动生成的快捷方式：
       Windows系统：Alt+insert
       IOS系统：Command+N
       或者：空白区域右键Generate，也能弹出窗口
     */
    public Student() {
    }

    public Student(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
